package com.zrkizzy.seckill.vo.system;

import com.zrkizzy.seckill.entity.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品详情返回对象
 *
 * @author zhangrongkang
 * @since 2023/4/4
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DetailVO {
    /**
     * 用户
     */
    private User user;

    /**
     * 商品返回对象
     */
    private GoodsVO goodsVO;

    /**
     * 秒杀状态
     */
    private Integer seckillStatus;

    /**
     * 秒杀倒计时
     */
    private Long remainSeconds;

}
